From 48420965e6c520fae50a104dcf81ea518b8c9803 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 21 Dec 2014 10:45:39 -0800 Subject: [PATCH] Update to rust master --- Cargo.lock | 12 ++++----- Makefile.in | 2 +- configure | 2 +- src/bin/cargo.rs | 2 +- src/cargo/lib.rs | 3 ++- src/cargo/ops/cargo_rustc/mod.rs | 12 ++++++--- src/rustversion.txt | 2 +- src/snapshots.txt | 8 ++++++ tests/test_cargo_bench.rs | 11 ++++---- tests/test_cargo_build_auth.rs | 27 +++++++------------- tests/test_cargo_build_lib.rs | 2 +- tests/test_cargo_compile.rs | 22 ++++++++-------- tests/test_cargo_compile_custom_build.rs | 8 +++--- tests/test_cargo_compile_old_custom_build.rs | 4 +-- tests/test_cargo_cross_compile.rs | 16 +++++++----- tests/test_cargo_profiles.rs | 12 ++++----- tests/test_cargo_test.rs | 4 +-- tests/tests.rs | 1 + 18 files changed, 79 insertions(+), 71 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4327f02f2..0f94cf395 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ "semver 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "tar 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "toml 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "toml 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "url 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -32,7 +32,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libz-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -83,7 +83,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libssh2-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -101,7 +101,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libz-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -131,7 +131,7 @@ dependencies = [ [[package]] name = "openssl-sys" -version = "0.2.4" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libressl-pnacl-sys 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -180,7 +180,7 @@ dependencies = [ [[package]] name = "toml" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] diff --git a/Makefile.in b/Makefile.in index 8ba2b4a6f..fd03484a0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -69,7 +69,7 @@ all: $(foreach target,$(CFG_TARGET),cargo-$(target)) define CARGO_TARGET cargo-$(1): $$(CARGO) - "$$(CFG_RUSTC)" -v + "$$(CFG_RUSTC)" -V $$(CARGO) build --target $(1) $$(OPT_FLAG) $$(ARGS) test-unit-$(1): $$(CARGO) diff --git a/configure b/configure index 69080b53a..6c724cc4b 100755 --- a/configure +++ b/configure @@ -313,7 +313,7 @@ if [ $HELP -eq 0 ]; then else probe_need CFG_RUSTC rustc fi - DEFAULT_BUILD=$("${CFG_RUSTC}" --version verbose | grep 'host: ' | sed 's/host: //') + DEFAULT_BUILD=$("${CFG_RUSTC}" -vV | grep 'host: ' | sed 's/host: //') fi valopt build "${DEFAULT_BUILD}" "GNUs ./configure syntax LLVM build triple" diff --git a/src/bin/cargo.rs b/src/bin/cargo.rs index 5a5c1b085..64dbe5a64 100644 --- a/src/bin/cargo.rs +++ b/src/bin/cargo.rs @@ -1,5 +1,5 @@ #![feature(phase, macro_rules)] -#![deny(unused)] +#![deny(warnings)] extern crate serialize; #[phase(plugin, link)] extern crate log; diff --git a/src/cargo/lib.rs b/src/cargo/lib.rs index fb93f7b2a..360e32790 100644 --- a/src/cargo/lib.rs +++ b/src/cargo/lib.rs @@ -3,7 +3,8 @@ #![feature(macro_rules, phase)] #![feature(default_type_params)] -#![deny(bad_style)] +#![deny(unused)] +#![cfg_attr(test, deny(warnings))] extern crate libc; extern crate regex; diff --git a/src/cargo/ops/cargo_rustc/mod.rs b/src/cargo/ops/cargo_rustc/mod.rs index 82340b575..115ee0443 100644 --- a/src/cargo/ops/cargo_rustc/mod.rs +++ b/src/cargo/ops/cargo_rustc/mod.rs @@ -468,7 +468,10 @@ fn rustc(package: &Package, target: &Target, t.is_lib() }); - Ok((Work::new(move |desc_tx: Sender| { + let rustc_dep_info_loc = root.join(target.file_stem()).with_extension("d"); + let dep_info_loc = fingerprint::dep_info_loc(cx, package, target, kind); + + Ok((Work::new(move |desc_tx| { let mut rustc = rustc; // Only at runtime have we discovered what the extra -L and -l @@ -502,6 +505,8 @@ fn rustc(package: &Package, target: &Target, human(format!("Could not compile `{}`.", name)) })); + try!(fs::rename(&rustc_dep_info_loc, &dep_info_loc)); + Ok(()) }), kind)) @@ -623,7 +628,7 @@ fn build_base_args(cx: &Context, } if profile.get_opt_level() != 0 { - cmd = cmd.arg("--opt-level").arg(profile.get_opt_level().to_string()); + cmd = cmd.arg("-C").arg(format!("opt-level={}", profile.get_opt_level())); } if (target.is_bin() || target.is_staticlib()) && profile.get_lto() { cmd = cmd.args(&["-C", "lto"]); @@ -676,8 +681,7 @@ fn build_plugin_args(mut cmd: ProcessBuilder, cx: &Context, pkg: &Package, cmd = cmd.arg("--out-dir"); cmd = cmd.arg(cx.out_dir(pkg, kind, target)); - let dep_info_loc = fingerprint::dep_info_loc(cx, pkg, target, kind); - cmd = cmd.arg("--dep-info").arg(dep_info_loc); + cmd = cmd.arg("--emit=dep-info,link"); if kind == Kind::Target { fn opt(cmd: ProcessBuilder, key: &str, prefix: &str, diff --git a/src/rustversion.txt b/src/rustversion.txt index e4c3aa63c..e8ecf7efe 100644 --- a/src/rustversion.txt +++ b/src/rustversion.txt @@ -1 +1 @@ -2014-12-19 +2014-12-21 diff --git a/src/snapshots.txt b/src/snapshots.txt index c20fbde3f..f08e9d6ae 100644 --- a/src/snapshots.txt +++ b/src/snapshots.txt @@ -1,3 +1,11 @@ +2014-12-21 + linux-i386 4dea04e278192c5409f43794a98f20a8f59df2d9 + linux-x86_64 3e48c573d3c4d26591feb7bfe988174720f08374 + macos-i386 dc3d498c0567af4a0820e91756dcfff8fde0efac + macos-x86_64 f301bd8c3c93a5c88698c69190e464af1525ac96 + winnt-i386 5b6bc87e302d1ff6ac9b0576292eb7cbff2c3b83 + winnt-x86_64 a8bb8d3a7ed3fc8caf4a33d6b9d2e43544877409 + 2014-12-20 linux-i386 1cccab5a6ac8e73472bf78cdce019cd1a60d4638 linux-x86_64 53c176fcda0a40fb77b901303c443de3dce3e58d diff --git a/tests/test_cargo_bench.rs b/tests/test_cargo_bench.rs index ee957e80f..f9409eb7f 100644 --- a/tests/test_cargo_bench.rs +++ b/tests/test_cargo_bench.rs @@ -181,7 +181,7 @@ running 1 test test bench_hello ... ", COMPILING, p.url(), RUNNING)) .with_stderr(format!("\ -task '
' panicked at 'assertion failed: \ +thread '
' panicked at 'assertion failed: \ `(left == right) && (right == left)` (left: \ `hello`, right: `nope`)', src{sep}foo.rs:13 ", sep = path::SEP)) @@ -646,7 +646,6 @@ test!(bin_there_for_integration { output); }); -#[cfg(not(windows))] // FIXME(#456) test!(bench_dylib { let p = project("foo") .file("Cargo.toml", r#" @@ -696,11 +695,11 @@ test!(bench_dylib { execs().with_status(0) .with_stdout(format!("\ {compiling} bar v0.0.1 ({dir}) -{running} [..] --opt-level 3 [..] +{running} [..] -C opt-level=3 [..] {compiling} foo v0.0.1 ({dir}) -{running} [..] --opt-level 3 [..] -{running} [..] --opt-level 3 [..] -{running} [..] --opt-level 3 [..] +{running} [..] -C opt-level=3 [..] +{running} [..] -C opt-level=3 [..] +{running} [..] -C opt-level=3 [..] {running} [..]target[..]release[..]bench-[..] running 1 test diff --git a/tests/test_cargo_build_auth.rs b/tests/test_cargo_build_auth.rs index 80deaa216..f390408e0 100644 --- a/tests/test_cargo_build_auth.rs +++ b/tests/test_cargo_build_auth.rs @@ -1,6 +1,7 @@ -use std::io::{TcpListener, Listener, Acceptor, BufferedStream}; -use std::io::net::tcp::TcpAcceptor; use std::collections::HashSet; +use std::io::net::tcp::TcpAcceptor; +use std::io::{TcpListener, Listener, Acceptor, BufferedStream}; +use std::thread::Thread; use git2; use support::{project, execs, ResultTest, UPDATING}; @@ -25,7 +26,6 @@ test!(http_auth_offered { let mut a = listener.listen().unwrap(); let a2 = a.clone(); let _c = Closer { a: a2 }; - let (tx, rx) = channel(); fn headers(rdr: &mut R) -> HashSet { let valid = ["GET", "Authorization", "Accept", "User-Agent"]; @@ -38,7 +38,7 @@ test!(http_auth_offered { .collect() } - spawn(move|| { + let t = Thread::spawn(move|| { let mut s = BufferedStream::new(a.accept().unwrap()); let req = headers(&mut s); s.write(b"\ @@ -66,8 +66,6 @@ test!(http_auth_offered { "Accept: */*", "User-Agent: git/1.0 (libgit2 0.21.0)", ].into_iter().map(|s| s.to_string()).collect()); - - tx.send(()); }); let script = project("script") @@ -122,7 +120,7 @@ Caused by: ", addr = addr))); - rx.recv(); + t.join().ok().unwrap(); }); // Boy, sure would be nice to have a TLS implementation in rust! @@ -132,11 +130,8 @@ test!(https_something_happens { let mut a = listener.listen().unwrap(); let a2 = a.clone(); let _c = Closer { a: a2 }; - let (tx, rx) = channel(); - spawn(move|| { + let t = Thread::spawn(move|| { drop(a.accept().unwrap()); - - tx.send(()); }); let p = project("foo") @@ -175,7 +170,7 @@ Caused by: "SSL error: [..]" }))); - rx.recv(); + t.join().ok().unwrap(); }); // Boy, sure would be nice to have an SSH implementation in rust! @@ -185,11 +180,8 @@ test!(ssh_something_happens { let mut a = listener.listen().unwrap(); let a2 = a.clone(); let _c = Closer { a: a2 }; - let (tx, rx) = channel(); - spawn(move|| { + let t = Thread::spawn(move|| { drop(a.accept().unwrap()); - - tx.send(()); }); let p = project("foo") @@ -221,6 +213,5 @@ Caused by: [23] Failed to start SSH session: Failed getting banner ", addr = addr))); - - rx.recv(); + t.join().ok().unwrap(); }); diff --git a/tests/test_cargo_build_lib.rs b/tests/test_cargo_build_lib.rs index aab74fd11..f559b53e8 100644 --- a/tests/test_cargo_build_lib.rs +++ b/tests/test_cargo_build_lib.rs @@ -13,7 +13,7 @@ fn verbose_output_for_lib(p: &ProjectBuilder) -> String { -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target \ -L {dir}{sep}target{sep}deps` ", diff --git a/tests/test_cargo_compile.rs b/tests/test_cargo_compile.rs index 817bcc251..2926d18cd 100644 --- a/tests/test_cargo_compile.rs +++ b/tests/test_cargo_compile.rs @@ -699,8 +699,10 @@ test!(self_dependency { execs().with_status(0)); }); -#[cfg(not(windows))] test!(ignore_broken_symlinks { + // windows and symlinks don't currently agree that well + if cfg!(windows) { return } + let p = project("foo") .file("Cargo.toml", basic_bin_manifest("foo").as_slice()) .file("src/foo.rs", main_file(r#""i am foo""#, &[]).as_slice()) @@ -748,11 +750,11 @@ test!(lto_build { execs().with_status(0).with_stdout(format!("\ {compiling} test v0.0.0 ({url}) {running} `rustc {dir}{sep}src{sep}main.rs --crate-name test --crate-type bin \ - --opt-level 3 \ + -C opt-level=3 \ -C lto \ --cfg ndebug \ --out-dir {dir}{sep}target{sep}release \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target{sep}release \ -L {dir}{sep}target{sep}release{sep}deps` ", @@ -780,7 +782,7 @@ test!(verbose_build { -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target \ -L {dir}{sep}target{sep}deps` ", @@ -805,12 +807,12 @@ test!(verbose_release_build { execs().with_status(0).with_stdout(format!("\ {compiling} test v0.0.0 ({url}) {running} `rustc {dir}{sep}src{sep}lib.rs --crate-name test --crate-type lib \ - --opt-level 3 \ + -C opt-level=3 \ --cfg ndebug \ -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target{sep}release \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target{sep}release \ -L {dir}{sep}target{sep}release{sep}deps` ", @@ -851,22 +853,22 @@ test!(verbose_release_build_deps { {compiling} foo v0.0.0 ({url}) {running} `rustc {dir}{sep}foo{sep}src{sep}lib.rs --crate-name foo \ --crate-type dylib --crate-type rlib -C prefer-dynamic \ - --opt-level 3 \ + -C opt-level=3 \ --cfg ndebug \ -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target{sep}release{sep}deps \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target{sep}release{sep}deps \ -L {dir}{sep}target{sep}release{sep}deps` {compiling} test v0.0.0 ({url}) {running} `rustc {dir}{sep}src{sep}lib.rs --crate-name test --crate-type lib \ - --opt-level 3 \ + -C opt-level=3 \ --cfg ndebug \ -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target{sep}release \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target{sep}release \ -L {dir}{sep}target{sep}release{sep}deps \ --extern foo={dir}{sep}target{sep}release{sep}deps/\ diff --git a/tests/test_cargo_compile_custom_build.rs b/tests/test_cargo_compile_custom_build.rs index bcce93918..51c77a072 100644 --- a/tests/test_cargo_compile_custom_build.rs +++ b/tests/test_cargo_compile_custom_build.rs @@ -181,7 +181,7 @@ test!(custom_build_script_rustc_flags { -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target \ -L {dir}{sep}target{sep}deps` ", @@ -694,18 +694,18 @@ test!(build_cmd_with_a_build_cmd { {running} `[..]a-[..]build-script-build[..]` {running} `rustc [..]lib.rs --crate-name a --crate-type lib -g \ -C metadata=[..] -C extra-filename=-[..] \ - --out-dir [..]target[..]deps --dep-info [..]fingerprint[..]dep-lib-a \ + --out-dir [..]target[..]deps --emit=dep-info,link \ -L [..]target[..]deps -L [..]target[..]deps` {compiling} foo v0.5.0 (file://[..]) {running} `rustc build.rs --crate-name build-script-build --crate-type bin \ -C prefer-dynamic -g \ - --out-dir [..]build[..]foo-[..] --dep-info [..]fingerprint[..]dep-[..] \ + --out-dir [..]build[..]foo-[..] --emit=dep-info,link \ -L [..]target -L [..]target[..]deps \ --extern a=[..]liba-[..].rlib` {running} `[..]foo-[..]build-script-build[..]` {running} `rustc [..]lib.rs --crate-name foo --crate-type lib -g \ -C metadata=[..] -C extra-filename=-[..] \ - --out-dir [..]target --dep-info [..]fingerprint[..]dep-lib-foo \ + --out-dir [..]target --emit=dep-info,link \ -L [..]target -L [..]target[..]deps` ", compiling = COMPILING, running = RUNNING).as_slice())); }); diff --git a/tests/test_cargo_compile_old_custom_build.rs b/tests/test_cargo_compile_old_custom_build.rs index 725a7ad0c..0855548d3 100644 --- a/tests/test_cargo_compile_old_custom_build.rs +++ b/tests/test_cargo_compile_old_custom_build.rs @@ -155,7 +155,7 @@ warning: an arbitrary build command has now been deprecated. Failed to run custom build command for `foo v0.5.0 ({dir})` Process didn't exit successfully: `{}` (status=101)\n\ --- stderr\n\ -task '
' panicked at 'nope', {filename}:2\n\ +thread '
' panicked at 'nope', {filename}:2\n\ \n\ ", build.bin("foo").display(), filename = format!("src{}foo.rs", path::SEP), dir = p.url()))); @@ -221,7 +221,7 @@ warning: an arbitrary build command has now been deprecated. Failed to run custom build command for `foo v0.5.0 ({dir})` Process didn't exit successfully: `{}` (status=101)\n\ --- stderr\n\ -task '
' panicked at 'nope', {filename}:2\n\ +thread '
' panicked at 'nope', {filename}:2\n\ \n\ ", build2.bin("bar").display(), filename = format!("src{}bar.rs", path::SEP), dir = p.url()))); diff --git a/tests/test_cargo_cross_compile.rs b/tests/test_cargo_cross_compile.rs index ec8d9d69d..b55cc75d9 100644 --- a/tests/test_cargo_cross_compile.rs +++ b/tests/test_cargo_cross_compile.rs @@ -1,7 +1,3 @@ -// Currently the only cross compilers available via nightlies are on linux/osx, -// so we can only run these tests on those platforms -#![cfg(any(target_os = "linux", target_os = "macos"))] - use std::os; use std::path; @@ -15,10 +11,16 @@ fn setup() { } fn disabled() -> bool { + // First, disable if ./configure requested so match os::getenv("CFG_DISABLE_CROSS_TESTS") { - Some(ref s) if s.as_slice() == "1" => true, - _ => false, + Some(ref s) if s.as_slice() == "1" => return true, + _ => {} } + + // Right now the windows bots cannot cross compile due to the mingw setup, + // so we disable ourselves on all but macos/linux setups where the rustc + // install script ensures we have both architectures + return !cfg!(target_os = "macos") && !cfg!(target_os = "linux"); } fn alternate() -> &'static str { @@ -298,7 +300,7 @@ test!(linker_and_ar { {compiling} foo v0.5.0 ({url}) {running} `rustc src/foo.rs --crate-name foo --crate-type bin -g \ --out-dir {dir}{sep}target{sep}{target} \ - --dep-info [..] \ + --emit=dep-info,link \ --target {target} \ -C ar=my-ar-tool -C linker=my-linker-tool \ -L {dir}{sep}target{sep}{target} \ diff --git a/tests/test_cargo_profiles.rs b/tests/test_cargo_profiles.rs index ccd29cb12..ccf531a54 100644 --- a/tests/test_cargo_profiles.rs +++ b/tests/test_cargo_profiles.rs @@ -28,13 +28,13 @@ test!(profile_overrides { execs().with_status(0).with_stdout(format!("\ {compiling} test v0.0.0 ({url}) {running} `rustc {dir}{sep}src{sep}lib.rs --crate-name test --crate-type lib \ - --opt-level 1 \ + -C opt-level=1 \ --cfg ndebug \ -C metadata=[..] \ -C extra-filename=-[..] \ -C rpath \ --out-dir {dir}{sep}target \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target \ -L {dir}{sep}target{sep}deps` ", @@ -83,22 +83,22 @@ test!(top_level_overrides_deps { {compiling} foo v0.0.0 ({url}) {running} `rustc {dir}{sep}foo{sep}src{sep}lib.rs --crate-name foo \ --crate-type dylib --crate-type rlib -C prefer-dynamic \ - --opt-level 1 \ + -C opt-level=1 \ -g \ -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target{sep}release{sep}deps \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target{sep}release{sep}deps \ -L {dir}{sep}target{sep}release{sep}deps` {compiling} test v0.0.0 ({url}) {running} `rustc {dir}{sep}src{sep}lib.rs --crate-name test --crate-type lib \ - --opt-level 1 \ + -C opt-level=1 \ -g \ -C metadata=[..] \ -C extra-filename=-[..] \ --out-dir {dir}{sep}target{sep}release \ - --dep-info [..] \ + --emit=dep-info,link \ -L {dir}{sep}target{sep}release \ -L {dir}{sep}target{sep}release{sep}deps \ --extern foo={dir}{sep}target{sep}release{sep}deps/\ diff --git a/tests/test_cargo_test.rs b/tests/test_cargo_test.rs index ff0d23c54..ea1f44d6d 100644 --- a/tests/test_cargo_test.rs +++ b/tests/test_cargo_test.rs @@ -135,7 +135,7 @@ test test_hello ... FAILED failures: ---- test_hello stdout ---- -task 'test_hello' panicked at 'assertion failed: \ +thread 'test_hello' panicked at 'assertion failed: \ `(left == right) && (right == left)` (left: \ `hello`, right: `nope`)', src{sep}foo.rs:12 @@ -150,7 +150,7 @@ test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured COMPILING, p.url(), RUNNING, sep = path::SEP)) .with_stderr(format!("\ -task '
' panicked at 'Some tests failed', [..] +thread '
' panicked at 'Some tests failed', [..] ")) .with_status(101)); }); diff --git a/tests/tests.rs b/tests/tests.rs index ca5326700..caa4d2d0b 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,5 +1,6 @@ #![feature(macro_rules)] #![feature(phase)] +#![deny(warnings)] extern crate cargo; extern crate flate2; -- 2.30.2